#include <iostream>

namespace test
{
	int a = 2;
}

namespace test1
{
	int aa = 1;
	namespace test2
	{
		int bb = 2;
	}
}
using namespace test;
int a = 1;

//int main()
//{
//	int  a = 0;
//	printf("%d\n", a);
//	printf("%d\n", test1::test2::bb);
//	return 0;
//}
//

using namespace std;

int main()
{
	/*int c = 1;
	int d = 2;
	int e = 3;
	auto au = c = d = e;{
	int a = 1;
	auto b = a;
	int* pa = &a;
	auto paa = &a;
	*/

	/*char a[] = "abcde";
	int len = sizeof(a) / sizeof(a[0]);
	printf("%d", len);*/

	int a[] = { 1,2,3,4,5,6,7,8,9,10 };
	for (auto& e : a)
	{
		e *= 2;
	}
	for (auto r : a)
	{
		cout << r << endl;
	}
}